package com.example.kbase.model;

import java.util.List;

public class CategoryInfo {
    /**
     * status : 0
     * data : [{"id":13,"parentId":0,"userId":4,"name":"C","status":true,"sortOrder":null,"createTime":"2018-09-04T00:22:02.000+0000","updateTime":"2018-09-04T00:22:12.000+0000"}]
     */
    private int status;
    private DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<ListBean> list;

        public List<ListBean>  getList() {
            return list;
        }
        public void setList(List<ListBean> list) {
            this.list = list;
        }

        /**
         * id : 13
         * parentId : 0
         * userId : 4
         * name : C
         * status : true
         * sortOrder : null
         * createTime : 2018-09-04T00:22:02.000+0000
         * updateTime : 2018-09-04T00:22:12.000+0000
         */

        public static class ListBean{
            private int id;
            private int userId;
            private String name;
            private boolean status;
            private Object sortOrder;
            private String createTime;
            private String updateTime;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public boolean isStatus() {
                return status;
            }

            public void setStatus(boolean status) {
                this.status = status;
            }

            public Object getSortOrder() {
                return sortOrder;
            }

            public void setSortOrder(Object sortOrder) {
                this.sortOrder = sortOrder;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }
        }


    }
}
